package visitor;

/**
 * @ClassName VisitorDemoTest
 * @Description TODO
 * @Author leejiliang
 * @DateTime 2021/8/6 15:16
 * @Version 1.0
 */
public class VisitorDemoTest {
	public static void main(String[] args) {
		final Contract contract = new Contract(1, "dddd-aaa", "小名");
		final NormalVisitor normalVisitor = new NormalVisitor();
		final Visitor visitor = new NBVisitor();
		contract.accept(visitor);
	}
}
